package com.summer.safe.system.entity;


import com.summer.safe.base.BaseEntity;

/**
 * 字典Entity
 *
 *
 */
public class Dict extends BaseEntity<Dict> {

    private static final long serialVersionUID = 1L;
    /**
     * 父级菜单
     */
    private DictType parent;
    /**
     * 数据值
     */
    private String value;
    /**
     * 标签名
     */
    private String label;
    /**
     * 类型
     */
    private String type;
    /**
     * 描述
     */
    private String description;



    public Dict() {
        super();
    }

    public Dict(String id) {
        super(id);
    }

    public Dict(String value, String label) {
        this.value = value;
        this.label = label;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }


    public DictType getParent() {
        return parent;
    }

    public void setParent(DictType parent) {
        this.parent = parent;
    }
}